body {
    background: #f8f8f8;
    background-repeat: repeat;
    position: relative;
    color: #555555;
    font-family: 'Microsoft Yahei', '微软雅黑', 'Simsun', '宋体', 'Arial';
    font-size: 14px;
    padding-top: 63px;
}

::-webkit-scrollbar,
::-webkit-scrollbar-track {
    background-color: transparent
}

::-webkit-scrollbar:horizontal {
    height: 8px
}

::-webkit-scrollbar:vertical {
    width: 8px
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #bbb
}

.app--dark ::-webkit-scrollbar-thumb {
    background-color: #666
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: '';
}

h1,
.h1 {
    font-size: 28px;
}

h2,
.h2 {
    font-size: 24px;
}

h3,
.h3 {
    font-size: 20px;
}

h4,
.h4 {
    font-size: 18px;
}

h5,
.h5 {
    font-size: 16px;
}

p,
.p,
h6,
.h6 {
    font-size: 15px;
}

a {
    color: #666666;
}

a:active,
a:hover {
    color: #3ca5f6;
}

/*
    文章样式
*/
.article h2.title {
    font-size: 24px;
    font-weight: normal;
    line-height: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.article h3.time {
    font-size: 16px;
    font-weight: lighter;
    margin-bottom: 30px;
    text-align: center;
}

.article p {
    font-size: 18px;
    line-height: 30px;
    text-indent: 40px;
    margin-bottom: 10px;
}

.article h3,
.article h4 {
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    margin-bottom: 12px;
}

.article ul li {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 5px;
}

.article .page {
    padding-top: 10px;
}

.article .page a {
    font-size: 15px;
    color: #666666;
}

.article .page a:active,
.article .page a:hover {
    color: #3ca5f6;
}


.nopaddingright {
    padding-right: 0;
}

#header .navbar-default {
    border: 0;
    padding: 5px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #dfdfdf;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
}

#header .navbar-default .navbar-nav>li>a {
    font-size: 16px;
    padding: 16px 10px 5px !important;
}

#header .navbar-default .navbar-nav>li>a:hover {
    color: #0ba1e4;
}

#header .navbar-default .navbar-nav>.active>a,
#header .navbar-default .navbar-nav>.active>a:hover,
#header .navbar-default .navbar-nav>.active>a:focus {
    color: #0ba1e4;
    background-color: rgba(255, 255, 255, 0);
}

#header .navbar-default .navbar-toggle .icon-bar {
    background-color: none;
}

#header .navbar-default .navbar-nav>li .line-top {
    border-top: 1px solid #0ba1e4;
    width: 18px;
    margin: auto;
}

#header .navbar-default .navbar-collapse {
    padding-left: 22%;
}

/* 触摸弹出菜单 */
.navbar .nav>li .dropdown-menu {
    margin: 0;
}

.navbar .nav>li:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-menu {
    padding: 0;
}

.navbar .dropdown-menu>li {
    text-align: left;
}

.navbar .dropdown-menu>li>a {
    padding: 8px 20px;
}

/*修复bootstrap3.0的bug*/
.nav>li.active {
    font-weight: bold;
}


.breadcrumb {
    background-color: #fff;
    margin: 15px 0;
}

.breadcrumb>li.active>a {
    color: #0ba1e4;
}

.jumbotron {
    background-color: #fff;
}

.jumbotron table tr td {
    border: 1px solid #ddd;
    padding: 12px 6px;
    vertical-align: middle;
}

.jumbotron table tr td:first-child {
    text-align: center;
}

.jumbotron img {
    max-width: 100%;
}

.leftmenu {
    background-color: #fff;
    margin-bottom: 15px;
    padding: 15px 15px 15px 0px;
    border-radius: 6px;
}

.leftmenu ul {
    padding: 0;
}

.leftmenu ul>li>ul {
    padding-left: 40px;
}

.leftmenu li {
    list-style: none;
}

.leftmenu li>a {
    display: block;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
}

.leftmenu li.active>a {
    color: #0ba1e4;
}

.pagination {
    margin: 0;
}

.list-group .list-group-item {
    border: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}

.list-group .list-group-item h4 {
    margin-bottom: 0;
}

.list-group .list-group-item small {
    margin-top: 6px;
}

.list-group .list-group-item:last-child {
    border: none;
}

.listright .listtitle {
    background-color: #fff;
    margin: 0;
    padding: 15px;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
}

.listright .listtitle a {
    color: #0ba1e4;
    font-size: 14px;
}

#sidebar {
    width: 285px;
    height: 62%;
    position: fixed;
    top: 75px;
    overflow: hidden;
    background: #fff;
    z-index: 100;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#sidebar:hover {
    overflow-y: scroll;
}

#editormd-body {
    margin-left: 300px;
}

#editormd-view {
    padding: 10px;
    margin: 15px 0 0 0;
    border-radius: 6px;
}

.menu1,
.menu2,
.menu3 {
    margin: 0 0 0 5px;
}

.menu1 li>a,
.menu2 li>a,
.menu2 li>a {
    color: rgb(33, 154, 211);
}

.menu1 li>a.active,
.menu2 li>a.active,
.menu2 li>a.active {
    color: rgb(255, 0, 0);
}

@media (max-width: 767px) {
    #header .navbar-default .navbar-collapse {
        padding-left: 0;
        text-align: center;
    }

    .jumbotron table {
        margin: -20px -10px;
    }

    .jumbotron table img {
        max-width: 100%;
        max-height: 100%;
    }

    #sidebar {
        width: 100%;
        height: 100%;
        position: unset;
        top: 70px;
        overflow: hidden;
        background: #fff;
        z-index: 100;
        padding: 8px;
        border: 1px solid #ddd;
        border-top: none;
        margin-bottom: 15px;
    }

    #sidebar:hover {
        overflow-y: scroll;
    }

    #editormd-body {
        margin-left: 0px;
    }


    #editormd-view,
    #editormd-view2 {
        padding-left: 10px;
        padding-right: 10px;
        margin: 0;
    }

    .menu1,
    .menu2,
    .menu3 {
        margin: 0 0 0 5px;
    }

    .menu1 li>a,
    .menu2 li>a,
    .menu2 li>a {
        color: rgb(33, 154, 211);
    }

    .menu1 li>a.active,
    .menu2 li>a.active,
    .menu2 li>a.active {
        color: rgb(255, 0, 0);
    }

    .nopaddingright {
        padding-right: 15px;
    }
}


#sidebar {
    overflow: hidden;
}

#sidebar-content {
    width: 110%;
    overflow-y: scroll;
}

#sidebar-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar-content ul li {
    padding-left: 1em;
}

#sidebar-content ul li a {
    display: block;
    width: 100%;
    padding-left: 15px;
    line-height: 35px;

    color: #616161;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

#sidebar-content ul li a:hover {
    color: #0ba1e4;
    text-decoration: none;
    cursor: pointer;
}

#sidebar-content .left-active {
    background-color: rgba(194, 214, 229, .6);
    color: #0ba1e4;
}

#sidebar-content .left-active-sub {
    color: #0ba1e4;
}

#sidebar-content>ul>li>a.active,
#sidebar-content>ul>li>ul li a.active {
    color: #0ba1e4;
}

#sidebar-content>ul>li>a:hover {
    background-color: rgba(194, 214, 229, .6);
}

@media (max-width: 767px) {
    #sidebar {
        display: none;
        position: fixed !important;
        z-index: 1091;
        top: 0 !important;
        left: 0 !important;
        width: 270px !important;
        height: 100% !important;
        background-color: #333 !important;
        overflow-y: scroll !important;
    }

    #sidebar-content ul li {
        padding-left: 0;
    }

    #sidebar-content ul li a {
        text-indent: 1em;
        padding-left: 0 !important;
        height: 43px !important;
        padding-top: .5em !important;
        padding-bottom: .5em !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
        border-top: 1px solid rgba(0, 0, 0, .3) !important;
        color: #ccc;
    }

    #sidebar-content ul li a:hover {
        color: #ccc;
    }

    #sidebar-content>ul>li>ul>li>a {
        text-indent: 2em;
    }

    #sidebar-content>ul>li>ul>li>ul>li>a {
        text-indent: 3em;
    }

    #sidebar-content .left-active {
        color: #ccc;
        background-color: rgba(194, 214, 229, 0);
    }

    #sidebar-content .left-active-sub {
        color: #0ba1e4;
    }

    #sidebar #sidebar-content {
        height: 100% !important;
    }

    #sidebar-content>ul>li>a {
        color: #ccc;
    }

    #sidebar-content>ul>li>a:hover {
        color: #ccc;
        background-color: rgba(194, 214, 229, 0);
    }
}

#sidebar-content h4:first-child {
    padding-top: 0;
}

#sidebar-content h4 {
    border-bottom: 1px solid #c1c1c1;
    margin: 0;
    padding-top: 30px;
    padding-bottom: 15px;
}

#sidebar .sidebar-right ul {
    margin-top: 15px;
}

#sidebar .sidebar-right ul li {
    padding-left: 0;
}

#sidebar .sidebar-right ul li a {
    color: #333;
}

#sidebar .sidebar-right ul li a:hover {
    background: none;
    color: #0ba1e4;
}

.sidebar-contact {
    padding-left: 7px;
    padding-top: 15px;
}

.sidebar-contact a {
    display: block;
    margin: 5px 0;
    height: 32px;
    padding-left: 32px;
    line-height: 32px;
    overflow: hidden;
    font-size: 18px;
    color: #f93;
}

.sidebar-contact a:hover {
    text-decoration: none;
    cursor: pointer;
}


@media (max-width: 767px) {
    #sidebar-content h4 {
        border-bottom: 0;
        background-color: #333;
        color: #777;
        line-height: 28px;
        padding-top: 15px;
        padding-bottom: 0;
    }

    #sidebar .sidebar-right ul li a {
        color: #ccc;
    }
}

/* Footer
-------------------------------------------------- */
.footer {
    background-color: #ffffff;
    /* box-shadow: 0 2px 4px rgb(211,211,211);*/
    color: #666666;
    margin-top: 15px;
    padding: 10px 0px 15px 0px;
    font-size: 11px;
}

.footlogo {
    width: 220px;
    margin-top: 35px;
}

@media (max-width: 767px) {
    .footlogo {
        width: 100%;
    }
}

.footer .yq_line {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.footer h5 {
    color: #333;
    font-weight: 500;
}

.footer a {
    font-size: 12px;
    color: #333;
    line-height: 30px;
}

.footer a:hover {
    color: #808080;
    text-decoration: underline;
}